package com.pangda.mapper;

import com.pangda.pojo.Clue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pangda.pojo.vo.salesVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 线索表 Mapper 接口
 * </p>
 *
 * @author Panda.No72
 * @since 2024-06-21
 */
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {

    List<Map<String, Object>> cluesStatistics(LocalDate beginDate, LocalDate endDate);

    List<Map<String, Object>> ClueTotal(LocalDate beginDate, LocalDate endDate);

    List<salesVo> getTime(@Param("beginCreateTime") String beginCreateTime, @Param("endCreateTime") String endCreateTime);
}
